package com.zzyl.service;

import com.zzyl.base.ResponseResult;
import com.zzyl.dto.DeviceDetailDTO;
import com.zzyl.dto.DeviceDto;
import com.zzyl.dto.QueryIotProductPageDTO;

public interface IotService {

    ResponseResult getProductInfo(QueryIotProductPageDTO dto);

    ResponseResult registerDevice(DeviceDto deviceDto);

    ResponseResult queryDevice(QueryIotProductPageDTO dto);

    ResponseResult queryDeviceDetail(DeviceDetailDTO dto);

    ResponseResult queryThingModelPublished(DeviceDetailDTO dto);

    ResponseResult queryDevicePropertyStatus(DeviceDto dto);

    ResponseResult updateDevice(DeviceDto dto);

    ResponseResult deleteDevice(DeviceDetailDTO dto);
}
